package com.yufuchang;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

/**
 * Created by yufuchang on 2020/9/8.
 */
@RestController
public class RetryController {
    @Autowired
    UserService userService;

    @GetMapping("/retry")
    public String retry(){
        return userService.getInfo();
    }
}
